Grid-connected power converter control

ABSTRACT

For grid-connected power converter control, a method estimates a d-axis grid voltage from a d-axis reference current modified with a d-axis current and a q-axis current modified with a filter inductive reactance. The method generates a q-axis current error from a direct current (DC) voltage input and a DC bus voltage. The method estimates an observer q-axis grid voltage from a q-axis voltage output. The q-axis grid voltage observer estimates the q-axis grid voltage in a direct/quadrature (dq) reference frame equivalent to an ABC to DQ reference frame transform. The method determines a d-axis voltage output as a function of a d-axis current error and a q-axis current modified with a filter inductive reactance. The method determines a q-axis voltage output as a sum of the q-axis current controller output and the observer q-axis grid voltage.

CROSS-REFERENCE TO RELATED APPLICATIONS

This is a continuation-in-part application of and claims priority to U.S. patent application Ser. No. 16/357,653 entitled “GRID-CONNECTED POWER CONVERTER CONTROL” and filed on Mar. 19, 2019 for Lei Jin, which is incorporated herein by reference.

BACKGROUND INFORMATION

The subject matter disclosed herein relates to power converter control.

BRIEF DESCRIPTION

A method for grid-connected power converter control is disclosed. The method estimates a d-axis grid voltage from a d-axis reference current modified with a d-axis current and a q-axis current modified with a filter inductive reactance. The method generates a q-axis current error from a direct current (DC) voltage input and a DC bus voltage. The method estimates an observer q-axis grid voltage from a q-axis voltage output. The q-axis grid voltage observer estimates the q-axis grid voltage in a direct/quadrature (dq) reference frame equivalent to an ABC to DQ reference frame transform. The method determines a d-axis voltage output as a function of a d-axis current error and a q-axis current modified with a filter inductive reactance. The method determines a q-axis voltage output as a sum of the q-axis current controller output and the observer q-axis grid voltage. The added observer q-axis grid voltage improves system dynamic response under a grid-voltage disturbance.

An apparatus for grid-connected power converter control is also disclosed. The apparatus includes a plurality of semiconductor gates. The apparatus estimates a d-axis grid voltage from a d-axis reference current modified with a d-axis current and a q-axis current modified with a filter inductive reactance. The apparatus generates a q-axis current error from a direct current (DC) voltage input and a DC bus voltage. The apparatus estimates an observer q-axis grid voltage from a q-axis voltage output. The q-axis grid voltage observer estimates the q-axis grid voltage in a direct/quadrature (dq) reference frame equivalent to an ABC to DQ reference frame transform. The apparatus determines a d-axis voltage output as a function of a d-axis current error and a q-axis current modified with a filter inductive reactance. The apparatus determines a q-axis voltage output as a sum of the q-axis current controller output and the observer q-axis grid voltage. The added observer q-axis grid voltage improves system dynamic response under a grid-voltage disturbance.

A system for grid-connected power converter control is also disclosed. The system includes a controller, a plant, a PWM, a power converter, and a filter. The controller estimates a d-axis grid voltage from a d-axis reference current modified with a d-axis current and a q-axis current modified with a filter inductive reactance. The controller generates a q-axis current error from a direct current (DC) voltage input and a DC bus voltage. The controller estimates an observer q-axis grid voltage from a q-axis voltage output. The q-axis grid voltage observer estimates the q-axis grid voltage in a direct/quadrature (dq) reference frame equivalent to an ABC to DQ reference frame transform. The controller determines a d-axis voltage output as a function of a d-axis current error and a q-axis current modified with a filter inductive reactance. The controller determines a q-axis voltage output as a sum of the q-axis current controller output and the observer q-axis grid voltage. The added observer q-axis grid voltage improves system dynamic response under a grid-voltage disturbance. The plant drives the PWM as a function of the d-axis voltage output and q-axis voltage output. The PWM generates gate control signals based on the d-axis voltage output and the q-axis voltage output. The power converter outputs electrical power as driven by the PWM. The filter filters the electrical power between the power converter and a grid power.

BRIEF DESCRIPTION OF THE DRAWINGS

In order that the advantages of the embodiments of the invention will be readily understood, a more particular description of the embodiments briefly described above will be rendered by reference to specific embodiments that are illustrated in the appended drawings. Understanding that these drawings depict only some embodiments and are not therefore to be considered to be limiting of scope, the embodiments will be described and explained with additional specificity and detail through the use of the accompanying drawings, in which:

FIG. 1A is a schematic block diagram of a grid-connected power converter system according to an embodiment;

FIG. 1B is a schematic block diagram of a controller and phase lock loop (PLL) according to an embodiment;

FIG. 2A is a schematic block diagram of a controller and PLL according to an embodiment;

FIG. 2B is a schematic block diagram of a PLL according to an embodiment;

FIG. 3 is a drawing of a direct and quadrature axes according to an embodiment;

FIG. 4 is a schematic block diagram of a controller according to an embodiment;

FIG. 5 is a flow chart diagram of a power converter control method according to an embodiment;

FIG. 6A shows graphs of system input and output under grid unbalance according to an embodiment;

FIG. 6B shows graphs of system input and output under grid harmonics according to an embodiment;

FIG. 6C shows graphs of controller internal signals under grid harmonics according to an embodiment;

FIG. 6D shows graphs of system input and output for a 1 Hertz (Hz) step change in line frequency according to an embodiment;

FIG. 6E shows graphs of controller internal signals for a 1 Hz step change in line frequency according to an embodiment;

FIG. 6F shows graphs of system input and output for a phase angle step change in line voltage according to an embodiment;

FIG. 6G shows graphs of controller internal signals for a phase angle step change in line voltage according to an embodiment;

FIG. 7A is a schematic block diagram of a controller and PLL according to an embodiment;

FIG. 7B is a schematic block diagram of a q-axis grid-voltage observer according to an embodiment;

FIG. 7C is a schematic block diagram of a voltage estimator according to an alternate embodiment;

FIG. 8A is a schematic block diagram of a controller and PLL according to an embodiment;

FIG. 8B is a schematic block diagram of a d-axis grid-voltage observer according to an alternate embodiment;

FIG. 8C is a schematic block diagram of a PLL according to an alternate embodiment;

FIG. 9 is a flow chart diagram of a power converter control method according to an embodiment;

FIG. 10A is a graph of grid voltage and grid current according to an embodiment;

FIG. 10B is a graph of grid voltage and grid current according to an embodiment;

FIG. 11A is a graph of grid voltage and grid current according to an embodiment; and

FIG. 11B is a graph of grid voltage and grid current according to an embodiment.

DETAILED DESCRIPTION

Reference throughout this specification to “one embodiment,” “an embodiment,” or similar language means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment. Thus, appearances of the phrases “in one embodiment,” “in an embodiment,” and similar language throughout this specification may, but do not necessarily, all refer to the same embodiment, but mean “one or more but not all embodiments” unless expressly specified otherwise. The terms “including,” “comprising,” “having,” and variations thereof mean “including but not limited to” unless expressly specified otherwise. An enumerated listing of items does not imply that any or all of the items are mutually exclusive and/or mutually inclusive, unless expressly specified otherwise. The terms “a,” “an,” and “the” also refer to “one or more” unless expressly specified otherwise.

Furthermore, the described features, advantages, and characteristics of the embodiments may be combined in any suitable manner. One skilled in the relevant art will recognize that the embodiments may be practiced without one or more of the specific features or advantages of a particular embodiment. In other instances, additional features and advantages may be recognized in certain embodiments that may not be present in all embodiments.

These features and advantages of the embodiments will become more fully apparent from the following description and appended claims or may be learned by the practice of embodiments as set forth hereinafter. As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method, and/or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module,” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having program code embodied thereon.

Many of the functional units described in this specification have been labeled as modules, in order to more particularly emphasize their implementation independence. For example, a module may be implemented as a hardware circuit comprising custom VLSI circuits or gate arrays, off-the-shelf semiconductors such as logic chips, transistors, or other discrete components. A module may also be implemented in programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices or the like.

Modules may also be implemented in software for execution by various types of processors. An identified module of program code may, for instance, comprise one or more physical or logical blocks of computer instructions which may, for instance, be organized as an object, procedure, or function. Nevertheless, the executables of an identified module need not be physically located together but may comprise disparate instructions stored in different locations which, when joined logically together, comprise the module and achieve the stated purpose for the module.

Indeed, a module of program code may be a single instruction, or many instructions, and may even be distributed over several different code segments, among different programs, and across several memory devices. Similarly, operational data may be identified and illustrated herein within modules and may be embodied in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set or may be distributed over different locations including over different storage devices, and may exist, at least partially, merely as electronic signals on a system or network. Where a module or portions of a module are implemented in software, the program code may be stored and/or propagated on in one or more computer readable medium(s).

The computer readable medium may be a tangible computer readable storage medium storing the program code. The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, holographic, micromechanical, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing.

More specific examples of the computer readable storage medium may include but are not limited to a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a portable compact disc read-only memory (CD-ROM), a digital versatile disc (DVD), an optical storage device, a magnetic storage device, a holographic storage medium, a micromechanical storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, and/or store program code for use by and/or in connection with an instruction execution system, apparatus, or device.

The computer readable medium may also be a computer readable signal medium. A computer readable signal medium may include a propagated data signal with program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electrical, electro-magnetic, magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport program code for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable signal medium may be transmitted using any appropriate medium, including but not limited to wireline, optical fiber, Radio Frequency (RF), or the like, or any suitable combination of the foregoing.

In one embodiment, the computer readable medium may comprise a combination of one or more computer readable storage mediums and one or more computer readable signal mediums. For example, program code may be both propagated as an electro-magnetic signal through a fiber optic cable for execution by a processor and stored on RAM storage device for execution by the processor.

Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Python, Java, JavaScript, Smalltalk, C++, PHP or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). The computer program product may be shared, simultaneously serving multiple customers in a flexible, automated fashion.

The computer program product may be integrated into a client, server and network environment by providing for the computer program product to coexist with applications, operating systems and network operating systems software and then installing the computer program product on the clients and servers in the environment where the computer program product will function. In one embodiment software is identified on the clients and servers including the network operating system where the computer program product will be deployed that are required by the computer program product or that work in conjunction with the computer program product. This includes the network operating system that is software that enhances a basic operating system by adding networking features.

Furthermore, the described features, structures, or characteristics of the embodiments may be combined in any suitable manner. In the following description, numerous specific details are provided, such as examples of programming, software modules, user selections, network transactions, database queries, database structures, hardware modules, hardware circuits, hardware chips, etc., to provide a thorough understanding of embodiments. One skilled in the relevant art will recognize, however, that embodiments may be practiced without one or more of the specific details, or with other methods, components, materials, and so forth. In other instances, well-known structures, materials, or operations are not shown or described in detail to avoid obscuring aspects of an embodiment.

Aspects of the embodiments are described below with reference to schematic flowchart diagrams and/or schematic block diagrams of methods, apparatuses, systems, and computer program products according to embodiments of the invention. It will be understood that each block of the schematic flowchart diagrams and/or schematic block diagrams, and combinations of blocks in the schematic flowchart diagrams and/or schematic block diagrams, can be implemented by program code. The program code may be provided to a processor of a general purpose computer, special purpose computer, sequencer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the schematic flowchart diagrams and/or schematic block diagrams block or blocks.

The program code may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the schematic flowchart diagrams and/or schematic block diagrams block or blocks.

The program code may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the program code which executed on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.

The schematic flowchart diagrams and/or schematic block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of apparatuses, systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the schematic flowchart diagrams and/or schematic block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions of the program code for implementing the specified logical function(s).

It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the Figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. Other steps and methods may be conceived that are equivalent in function, logic, or effect to one or more blocks, or portions thereof, of the illustrated Figures.

Although various arrow types and line types may be employed in the flowchart and/or block diagrams, they are understood not to limit the scope of the corresponding embodiments. Indeed, some arrows or other connectors may be used to indicate only the logical flow of the depicted embodiment. For instance, an arrow may indicate a waiting or monitoring period of unspecified duration between enumerated steps of the depicted embodiment. It will also be noted that each block of the block diagrams and/or flowchart diagrams, and combinations of blocks in the block diagrams and/or flowchart diagrams, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and program code.

The description of elements in each figure may refer to elements of proceeding figures. Like numbers refer to like elements in all figures, including alternate embodiments of like elements.

FIG. 1A is a schematic block diagram of a grid-connected power converter system 100. The system 100 may receive Alternating Current (AC) grid power 106 and supply filtered Direct Current (DC) electrical power 108 over a power bus 113. The grid power 106 may include fluctuations, transient changes, harmonics, and the like. The system 100 removes the fluctuations, transient changes, and harmonics so that the power bus 113 provides clean power to one or more devices.

In the depicted embodiment, the system 100 includes a controller 101, a PLL 103, a DQ to ABC reference frame transform 105, a PWM 107, a power converter 109, a filter 111, and the power bus 113. The DQ to ABC reference frame transform 105 may be embodied in the controller 101. In addition, the system 100 may not include a grid voltage sensor. The absence of the grid voltage sensor increases the reliability of the system 100 as the system 100 will not fail when a grid voltage sensor fails. Grid sensors are also susceptible to noise, including environmental noise and line noise, particularly under weak-grid conditions. In addition, the absence of the grid voltage sensor reduces maintenance costs as the grid voltage sensor need not be regularly replaced and/or tested. As a result, the reliability of the system 100 is greatly enhanced while the cost of maintaining the system 100 is reduced.

In one embodiment, the controller 101 estimates a direct (d)-axis grid voltage −E_(d) 147. The estimated direct d-axis grid voltage −E_(d) 147 may be used by the PLL 103 to generate a grid-voltage phase angle θ_(e) 157 and a grid frequency ω_(e) 175 without the grid voltage sensor. The estimation of the d-axis grid voltage −E_(d) 147 is described hereafter. The estimated d-axis grid voltage −E_(d) 147 is further employed to generate a d-axis voltage output 161 and a quadrature (q)-axis voltage output 163 which drive the DQ to ABC reference frame transform 105 to generate a three-phase voltage command V_(abc) 159 that controls the pulse width modulator 107. The pulse width modulator 107 generates gate control signals 102 that switch transistors in the power converter 109 to convert the grid power 106 into the DC electric power 108. The power converter 109 receives filtered grid power 106 as converter side current 104. In one embodiment, the system 100 is an active front end (AFE) converter.

FIG. 1B is a schematic block diagram of the controller 101 and the PLL 103. In the depicted embodiment, the controller 101 includes a voltage estimator 251, a voltage generator 253, two or more resonant regulators 151, and a DQ voltage generator 253. The voltage estimator 251 estimates the estimated d-axis grid voltage −E_(d) 147 as a function of at least a d-axis reference current i*_(d) 129 modified with a d-axis current i_(d) 125. In addition, the voltage estimator 251 may estimate a q-axis current as will be described hereafter in FIG. 2A. The voltage generator 253 generates a q-axis grid voltage Δv_(q) 137 as a function of at least a DC voltage input V*dc 127 modified with the DC bus voltage V_(dc) 133. In addition, the q-axis grid voltage Δv_(q) 137 may be modified with the grid frequency ω_(e) 175.

The PLL 103 receives the estimated d-axis grid voltage −E_(d) 147 and determines the grid-voltage phase angle θ_(e) 157 and the grid frequency ω_(e) 175. The determination of the grid-voltage phase angle θ_(e) 157 and the grid frequency ω_(e) 175 is described in more detail in FIG. 2B.

The second-order resonant regulators 151 may selectively remove grid negative-sequence harmonic currents. In one embodiment, the second order resonant regulators 151 each implement the transfer function of Equation 1, where s is a frequency transform, ω_(e) is the grid frequency 175 obtained from the PLL 103, and k_(r2) is a nonzero constant.

$\begin{matrix} {{{R_{2}(s)} = \frac{k_{r2} \cdot s}{s^{2} + \left( {2\omega_{e}} \right)^{2}}},} & {{Equation}\mspace{14mu} 1} \end{matrix}$

The output of each second-order resonant regulator 151 is received by the DQ voltage generator 253. The DQ voltage generator 253 determines the d-axis voltage output 161 and the q-axis voltage output 163.

FIG. 2A is a schematic block diagram of the controller 101 and the PLL 103. One embodiment of estimating the d-axis grid voltage −E_(d) 147 and determining the d-axis voltage output v*_(d) 161 and the q-axis voltage output v*_(q) 163 is depicted. The controller 101 and the PLL 103 may comprise a plurality of semiconductor gates and/or electrical components. In one embodiment, the controller 101 and/or PLL 103 are implemented with the processor.

The d-axis current i_(d) 125 is an ABC to DQ reference frame transform 121 of the grid-voltage phase angle θ_(e) 157 generated by the PLL 103 and a three-phase current i_(abc) 123 of the converter side current 104 of the power converter 109. In addition, the q-axis current i_(q) 135 is the ABC to DQ reference frame transform 121 of the grid-voltage phase angle θ_(e) 157 generated by the PLL 103 and the three-phase current 123. In one embodiment, i_(d) 125 and i_(q) 135 are determined using Equation 2, where i_(a), i_(b), i_(c) are the three phase currents of the power converter 109.

$\begin{matrix} {\begin{bmatrix} i_{d} \\ i_{q} \end{bmatrix} = {{\frac{2}{3}\begin{bmatrix} {\cos\left( \theta_{e} \right)} & {\cos\left( {\theta_{e} - \frac{2\pi}{3}} \right)} & {\cos\left( {\theta_{e} + \frac{2\pi}{3}} \right)} \\ {- {\sin\left( \theta_{e} \right)}} & {- {\sin\left( {\theta_{e} - \frac{2\pi}{3}} \right)}} & {- {\sin\left( {\theta_{e} + \frac{2\pi}{3}} \right)}} \end{bmatrix}}\begin{bmatrix} i_{a} \\ i_{b} \\ i_{c} \end{bmatrix}}} & {{Equation}\mspace{14mu} 2} \end{matrix}$

In the depicted embodiment, a DC bus voltage 133 of the DC electric power 108 is modified with a notch filter 131 and subtracted from the voltage input 127 to balance the voltage input 127 as the modified voltage input V*_(dcm) 149. The modified voltage input V*_(dcm) 149 may be further modified by a proportional-integral (PI) controller 141. The q-axis current i_(q) 135 is subtracted from the modified voltage input 149 to generate the modified voltage input estimate V*_(dcme) 155. The modified voltage input estimate V*_(dcme) 155 may be filtered by a PI controller 141. The modified voltage input estimate V*_(dcme) 155 is subtracted from a rated machine voltage magnitude E_(m) 156 to generate the q-axis grid voltage Δv_(q) 137. In one embodiment, the rated machine voltage magnitude 156 is 311V for a 380V three-phase AC grid.

In one embodiment, the modified voltage input estimate V*_(dcme) 155 transformed by a second-order resonant regulator 151 is subtracted from the q-axis grid voltage Δv_(q) 137 to determine the q-axis voltage output 163. In addition, the modified voltage input estimate V*_(dcme) 155 transformed by an n-order resonant regulator 151 also may be subtracted from the q-axis grid voltage Δv_(q) 137 to determine the q-axis voltage output 163. In one embodiment, n-order resonant regulators Rn 151 are in parallel with the second-order resonant regulators R₂ 151 on both d-axis and q-axis. The n-order resonant regulators 151 each implement the transfer function shown in Equation 3, wherein s is a frequency transform, ω_(e) is the grid frequency 175 obtained from the PLL 103, k_(m) is a nonzero constant, and Δθ is a phase angle for delay compensation.

$\begin{matrix} {{R_{n}(s)} = \frac{k_{rn} \cdot \left\lbrack {{s \cdot {\cos({\Delta\theta})}} - {n\;{\omega_{e} \cdot {\sin({\Delta\theta})}}}} \right\rbrack}{s^{2} + \left( {n\omega_{e}} \right)^{2}}} & {{Equation}\mspace{14mu} 3} \end{matrix}$

In a certain embodiment, the d-axis current i_(d) 125 modified by a filter inductive reactance 145 is also subtracted from the q-axis grid voltage Δv_(q) 137 to determine the q-axis voltage output 163. The filter inductive reactance 145 may implement the function of Equation 4, where L is an inductance of the filter 111. F(s)=ω_(e) L  Equation 4

In one embodiment, the d-axis current i_(d) 125 is subtracted from the d-axis reference current i*_(d) 129 to generate the modified d-axis current input i*_(d) 153. The modified d-axis current input i*_(d) 153 may be modified by a PI filter 141 to estimate the d-axis grid voltage −E_(d) 147.

In one embodiment, the d-axis grid voltage −E_(d) 147 is subtracted from the q-axis current iq 135 to generate the d-axis voltage output 161. The q-axis current iq 135 may be modified by a filter inductive reactance 145 implementing the function of Equation 4 to generate a function output Fo 183.

In a certain embodiment, the modified d-axis current input i*_(d) 153 is transformed by the second-order resonant regulator 151 implementing Equation 1. The regulated output 181 from the second-order resonant regulator 151 also may be subtracted from the function output Fo 183. In addition, the modified d-axis current input i*_(d) 153 may be transformed by the n-order resonant regulator 151 implementing Equation 3 to generate the regulated output 181.

A DQ to ABC reference frame transform 105 may determine a three-phase voltage command V_(abc) 159 for the pulse width modulator 107 from the d-axis voltage output 161 and the q-axis voltage output 163. The DQ to ABC reference frame transform 105 may implement Equation 5, wherein v_(a), v_(b), and v_(c) are phase voltage components of the three-phase voltage command V_(abc) 159.

$\begin{matrix} {\begin{bmatrix} v_{a} \\ v_{b} \\ v_{c} \end{bmatrix} = {\begin{bmatrix} {{\cos\left( \theta_{e} \right)}\ } & {- {\sin\left( \theta_{e} \right)}} \\ {\cos\left( {\theta_{e} - \frac{2\pi}{3}} \right)} & {- {\sin\left( {\theta_{e} - \frac{2\pi}{3}} \right)}} \\ {\cos\left( {\theta_{e} + \frac{2\pi}{3}} \right)} & {- {\sin\left( {\theta_{e} + \frac{2\pi}{3}} \right)}} \end{bmatrix}\begin{bmatrix} v_{d}^{*} \\ v_{q}^{*} \end{bmatrix}}} & {{Equation}\mspace{14mu} 5} \end{matrix}$

In one embodiment, the PLL 103 receives the estimated d-axis grid voltage −E_(d) 147. The determination of the grid-voltage phase angle θ_(e) 157 and the grid frequency ω_(e) 175 are described in more detail in FIG. 2B.

FIG. 2B is a schematic block diagram of the PLL 103. In the depicted embodiment, the estimated d-axis grid voltage −E_(d) 147 is received and filtered with a tracking filter 171. The tracking filter 171 may track specified harmonics from the estimated d-axis grid voltage −E_(d) 147. The tracking filter 171 may implement the tracking function T_(n)(s) of Equation 6, where n is an order of the tracking filter 171 and k_(n)s is a nonzero constant.

$\begin{matrix} {{T_{n}(s)} = \frac{k_{n}s}{s^{2} + {k_{n}s} + \left( {n\omega_{e}} \right)^{2}}} & {{Equation}\mspace{14mu} 6} \end{matrix}$

The tracking filter 171 may utilize the grid frequency ω_(e) 175 determined by the PLL 103 to implement a tracking function T_(n)(s) at frequency n×ω_(e) where n is an integer. The output of the tracking filter 171 is subtracted from the estimated d-axis grid voltage −E_(d) 147, with the result filtered with a PI controller 141 and summed with a rated grid frequency 176 ω_(e_rated) to generate the grid frequency ω_(e) 175. The grid frequency ω_(e) 175 may be integrated by an integrator 173 to generate the grid-voltage phase angle θ_(e) 157. As a result, both the grid-voltage phase angle θ_(e) 157 and the grid frequency ω_(e) 175 are generated from the estimated d-axis grid voltage −E_(d) 147 without the use of a grid voltage sensor.

FIG. 3 is a drawing of direct (d) and quadrature (q) axes. The d-axis 201 and the q-axis 203 are shown. The d-axis 201 and the q-axis 203 may be used to represent a three-phase vector 205. The three-phase vector 205 may be expressed as a vector in the d-axis 201 and a vector in the q-axis 203 that rotates at the grid frequency ω_(e) 175.

FIG. 4 is a schematic block diagram of a controller 101. The controller 101 may comprise a plurality of semiconductor gates. In the depicted embodiment, the controller 101 includes a processor 405, a memory 410, and communication hardware 415. The memory 410 may include a semiconductor storage device, hard disk drive, a micromechanical storage device, or combinations thereof. The memory 410 may store code. The processor 405 may execute the code. The communication hardware 415 may communicate with other components and/or devices. For example, the communication hardware 415 may communicate with the DQ to ABC reference frame transform 105 and/or pulse width modulator 107.

FIG. 5 is a flow chart diagram of a power converter control method 500. The method 500 may estimate the d-axis grid voltage −E_(d) 147 in order to generate gate control signals 102 and generate electric power 108. The method 500 may be performed by the controller 101 and/or the system 100.

The method 500 starts, and in one embodiment, the controller 101 tests 501 the converter grid side for an initial phase sequence and an initial phase angle 157 of the grid power voltages. In one embodiment, the initial phase sequence and the initial phase angle 157 are measured by current sensors at the power converter 109. The initial phase sequence may be stored.

The controller 101 further generates 503 the d-axis current i_(d) 125 and the q-axis current i_(q) 135. The d-axis current i_(d) 125 and the q-axis current i_(q) 135 may be generated 503 from the three-phase current i_(abc) 123 of the grid power 106 as shown in FIG. 2A.

The controller 101 estimates 505 the d-axis grid voltage −E_(d) 147 from the d-axis reference current i*_(d) 129 modified with the d-axis current i_(d) 125, and estimates the q-axis current i_(q) 135 modified with a filter inductive reactance 145. The d-axis current i_(d) 125 and the q-axis current i_(q) 135 may be generated 503 using Equation 2.

In addition, the controller 101 may generate 507 the q-axis grid voltage Δv_(q) 137. The q-axis grid voltage Δvq 137 may be generated 507 from the DC voltage input V*dc 127 modified with the DC bus voltage 133. The DC bus voltage 133 may modified with a notch filter 131 to balance the voltage input 127. In addition, the q-axis grid voltage Δv_(q) 137 may be reduced with a q-axis current i_(q) 135.

The controller 101 and/or PLL 103 may estimate 509 the grid-voltage phase angle θ_(e) 157 and a grid frequency ω_(e) 175 as described in FIG. 2B. In addition, the controller 101 may modify 511 the estimated d-axis grid voltage −E_(d) 147 by selectively removing second-order harmonics. In one embodiment, the controller 101 selectively modifies the q-axis grid voltage Δv_(q) 137 by selectively removing second-order harmonics. The second-order harmonics may be removed by second-order resonant regulators 151. The second-order resonant regulators 151 may implement the transfer function of Equation 1. In addition, n-order resonant regulators 151 may remove additional harmonics from the estimated d-axis grid voltage −E_(d) 147 and/or q-axis grid voltage Δv_(q) 137, where n is an integer number in the range of 3 to 30.

The controller 101 may further determine 513 the d-axis voltage output 161 and the q-axis voltage output 163 as a function of the modified estimated d-axis grid voltage −E_(d) 147 and the modified q-axis grid voltage Δv_(q) 137. The d-axis voltage output 161 and the q-axis voltage output 163 may be determined 513 as shown in FIG. 2A.

The controller 101 may generate 515 the three-phase voltage command V_(abc) 159 for the pulse width modulator 107. The three-phase voltage command V_(abc) 159 may be generated 515 from the d-axis voltage output 161 and the q-axis voltage output 163 using Equation 5.

In response to the three-phase voltage command V_(abc) 159, the pulse width modulator 107 may generate 517 the gate control signals 102. In response to the gate control signals 102 the power converter 109 may convert the grid power 106 and/or converter side power 104 into the DC electric power 108 to supply 521 the power bus 113, and the method 500 ends.

FIG. 6A shows graphs 601 of system input and output under grid unbalance. The line voltage of the grid power 106 in volts, the current of the converter side power 104 in amps, the three-phase current of grid power 106 in amps, and the DC bus voltage of the electric power 108 in volts are shown for a system 100 using two second-order resonant regulators 151.

FIG. 6B shows graphs 603 of system input and output under grid harmonics using two second-order resonant regulators 151 in the controller 101 and a six-order tracking filter 171 in the PLL 103. The line voltage of the grid power 106, the current of the converter side power 104, the three-phase current of grid power 106, and the DC bus voltage of the electric power 108 are shown for a system 100 receiving grid power 106 with −5^(th) and +7^(th) order harmonics of 5 percent each.

FIG. 6C shows graphs 605 of controller internal signals under grid harmonics for the graphs 603 of FIG. 6B. The d-axis grid voltage −E_(d) 147 in per units, estimated grid frequency ω_(e) 175 in ω_(e)/2π Hz, the estimated grid-voltage phase angle θ_(e) 157 in radians, and a phase angle error 210 in degrees for the estimated grid-voltage phase angle θ_(e) 157 minus an actual voltage phase angle are shown.

FIG. 6D shows graphs 607 of system input and output. The line voltage of the grid power 106, the current of the converter side power 104, the three-phase current of grid power 106, and the DC bus voltage of the electric power 108 are shown for a system 100 receiving grid power 106 for a 1 Hz step change in line frequency at time t=0.2 seconds (s) and t=0.26 s.

FIG. 6E shows graphs 609 of controller internal signals for the graphs 607 of FIG. 6D. The estimated d-axis grid voltage −E_(d) 147, filtered estimated d-axis grid voltage −E_(d) in per units, estimated grid frequency ω_(e) 175 in ω_(e)/2π Hz, the estimated grid-voltage phase angle θ_(e) 157 in radians, and a phase angle error 210 in degrees are shown.

FIG. 6F shows graphs 611 of system input and output. The line voltage of the grid power 106, the current of the converter side power 104, the three-phase current of grid power 106, and the DC bus voltage of the electric power 108 are shown for a system 100 receiving grid power 106 with a phase angle 60 degree step change in line voltage at t=0.2 s and t=0.26 s.

FIG. 6G shows graphs 613 of controller internal signals for the graphs 611 of FIG. 6F. The d-axis grid voltage −E_(d) 147 in per units, estimated grid frequency ω_(e) 175 in ω_(e)/2π Hz, the estimated grid-voltage phase angle θ_(e) 157 in radians, and the phase angle error 210 in degrees are shown.

FIG. 7A is a schematic block diagram of a controller 101 and PLL 103. An embodiment of determining the d-axis voltage output v*_(d) 161 and the q-axis voltage output v*_(q) 163 is depicted. The controller 101 and the PLL 103 may comprise a plurality of semiconductor gates and/or electrical components. In one embodiment, the controller 101 and/or PLL 103 are implemented with the processor 405.

The d-axis current i_(d) 125 is the ABC to DQ reference frame transform 121 of the grid-voltage phase angle θ_(e) 157 generated by the PLL 103 and a three-phase current i_(abc) 123 of the converter side current 104 of the power converter 109. In addition, the q-axis current i_(q) 135 is the ABC to DQ reference frame transform 121 of the grid-voltage phase angle θ_(e) 157 generated by the PLL 103 and the three-phase current 123. In one embodiment, the d-axis current i_(d) 125 and q-axis current i_(q) 135 are determined using Equation 2.

A second voltage estimator 257 generates a modified current input estimate 255. The second voltage estimator 257 is described in more detail in FIG. 7C. In one embodiment, the q-axis current i_(q) 135 is subtracted from the modified current input estimate 255 to generate a q-axis current error i_(q_err) 233. The q-axis current error i_(q_err) 233 may be generated from the DC voltage input 127 and the DC bus voltage 133. The generation of the q-axis current error i_(q_err) 233 is described in more detail in FIG. 7C. The q-axis error current i_(q_err) 233 may be the DC voltage input 127 minus the DC bus voltage 133, the difference modified by a proportional integral controller 141 and a notch filter 131 and further reduced with the q-axis current 135.

The inverse sum of q-axis current error i_(q_err) 233 transformed by the second-order resonant regulator 151, the q-axis current error i_(q_err) 233, and the d-axis current i_(d) 125 modified by the filter inductive reactance 145 may generate the q-axis current controller output 137 Δv_(q). The q-axis current controller output 137 Δv_(q) may be the minus d-axis current 125 multiplied by a filter inductive reactance 145 minus the output of the current regulators 141 and 151, whose input is a q-axis error current i_(q_err) 233. In one embodiment, n-order resonant regulators Rn 151 are in parallel with the second-order resonant regulators R₂ 151 on both d-axis and q-axis.

In one embodiment, the n-order resonant regulators 151 each implement the transfer function shown in Equation 3. In a certain embodiment, the n-order resonant regulators 151 have a selective frequency at nω_(e) and modify a d-axis current error i_(d_err) 231 and q-axis current error 233 to eliminate grid harmonic currents at frequencies of (n−1)ω_(e) and (n+1)ω_(e).

The q-axis current controller output 137 Δv_(q) is summed with an observer q-axis grid voltage 221 to estimate the q-axis voltage output 163. The q-axis grid voltage observer 220 estimates the grid q-axis voltage in the direct/quadrature (dq) reference frame equivalent to the ABC to DQ reference frame transform 121. The added observer q-axis grid voltage 221 improves system dynamic response under a grid-voltage disturbance.

The d-axis current i_(d) 125 may be subtracted from the d-axis reference current i*_(d) 129 to generate a d-axis current error i_(d_err) 231. The d-axis current error i_(d_err) 231 may be modified by the PI filter 141 to estimate the d-axis grid voltage −E_(d) 147. The d-axis grid voltage −E_(d) 147 may be estimated from the d-axis reference current 129 modified with the d-axis current 125, and the q-axis current 135 modified with the filter inductive reactance 145

In a certain embodiment, the d-axis current error i_(d_err) 231 is transformed by the second-order resonant regulator 151 implementing Equation 1. In addition, the modified d-axis current input i*_(d) 153 may be transformed by the n-order resonant regulator 151 implementing Equation 3 to generate the regulated output 181.

In one embodiment, the d-axis grid voltage −E_(d) 147 and regulated output 181 are subtracted from the q-axis current i_(q) 135 and/or the function output Fo 183 to generate the d-axis voltage output 161. The d-axis voltage output 161 may be determined as a function of a d-axis current error i_(d_err) 231 and a q-axis current 135 modified with a filter inductive reactance 145. The q-axis current i_(q) 135 may be modified by a filter inductive reactance 145 implementing the function of Equation 4 to generate the function output Fo 183.

The d-axis voltage output 161 and q-axis voltage output 163 control a plant 235 that generates the three-phase voltage command V_(abc) 159 that controls the pulse width modulator 107.

In one embodiment, the PLL 103 receives the estimated d-axis grid voltage −E_(d) 147. The determination of the grid-voltage phase angle θ_(e) 157 and the grid frequency ω_(e) 175 are described in more detail in FIG. 2B.

FIG. 7B is a schematic block diagram of the q-axis grid-voltage observer 220. The q-axis grid-voltage observer 220 determines the observer q-axis grid voltage E_(q_est) 221 from the q-axis voltage output 163, the d-axis current i_(d) 125, and the q-axis current i_(q) 135. The d-axis current and the q-axis current are an ABC to DQ reference frame transform 121 of a grid-voltage phase angle θ_(e) 157. In one embodiment, the observer q-axis grid voltage E_(q_est) 221 is estimated as a first sum of a prior observer q-axis grid voltage E_(q_est) 221 minus the d-axis current i_(d) 125 multiplied by an inductor reactance 229 minus q-axis voltage output v*_(q) 163. The first sum is filtered by an RL filter 223 and subtracted from the q-axis current i_(q) 135 to generate a second sum. The second sum processed by a proportional controller 225 and a digital delay 227 to estimate the observer q-axis grid voltage E_(q_est) 221.

In one embodiment, the observer q-axis grid voltage E_(q_est) 221 is calculated using Equation 7, wherein k_(po) is the observer proportional gain, ω_(e) is a grid frequency 175, L is a nameplate total inductance of filter 111, R is a nameplate total resistance of filter 111, s is a frequency transform. The d-axis current i_(d) 125 and q-axis current i_(q) 135 are obtained from the abc to dq reference frame transform 121, wherein the converter AC-side three-phase currents 123 are measured, and the grid-voltage phase angle 157 is obtained from the PLL 103.

$\begin{matrix} {{E_{q\_ est}\left( {k + 1} \right)} = {k_{po} \times \left\lbrack {{i_{q}(k)} - \frac{\begin{matrix} {{E_{q\_ est}(k)} - {v_{q}^{*}(k)} -} \\ {\omega_{e}\overset{\hat{}}{L}{i_{d}(k)}} \end{matrix}}{\overset{\hat{}}{R} + {s\overset{\hat{}}{L}}}} \right\rbrack}} & {{Equation}\mspace{14mu} 7} \end{matrix}$

FIG. 7C is a schematic block diagram of the second voltage estimator 257. The second voltage estimator 257 generates the modified current input estimate 255. In the depicted embodiment, the DC bus voltage V_(dc) 133 is subtracted from the DC voltage input V*dc 127 to generate the modified voltage input V*_(dcm) 149. The modified voltage input V*_(dcm) 149 is modified by a PI controller 141 and a notch filter 131 adjusted by the grid frequency ω_(e) 175 to generate the modified current input estimate 255.

FIG. 8A is a schematic block diagram of a controller 101 and PLL 103. The controller 101 of FIG. 7A is shown with a d-axis grid-voltage observer 240. The d-axis grid-voltage observer 240 estimates an observer d-axis grid voltage 241 from the d-axis voltage output 161. The d-axis grid-voltage observer 240 is described in more detail in FIG. 8B. The d-axis voltage output v*_(d) 161 is generated as the q-axis current i_(q) 135 and/or the function output Fo 183 minus the d-axis grid voltage −E_(d) 147 and regulated output 181 plus the observer d-axis grid voltage 241. The PLL 103 further generates the grid-voltage phase angle θ_(e) 157 and the grid frequency ω_(e) 175 from the observer d-axis grid voltage 241 as will be described in FIG. 8C.

FIG. 8B is a schematic block diagram of a d-axis grid-voltage observer 240. The d-axis grid-voltage observer 240 generates the observer d-axis grid voltage E_(d_est) 241 from the d-axis voltage output v*_(d) 161, the d-axis current i_(d) 125, and the q-axis current i_(q) 135. In one embodiment, the observer d-axis grid voltage E_(d_est) 241 is estimated as a first sum of the prior observer d-axis grid voltage E_(d_est) 241 minus the q-axis current i_(q) 135 multiplied by an inductor reactance 229 minus the d-axis voltage output v*_(d) 161. The first sum is filtered by an RL filter 223 and subtracted from the d-axis current i_(d) 125 to generate a second sum. The second sum is processed by a proportional controller 225 and a digital delay 227 to estimate the observer d-axis grid voltage E_(d_est) 241.

In one embodiment, the observer d-axis grid voltage E_(d_est) 241 is calculated using Equation 8, wherein k_(po) is the observer proportional gain, ω_(e) is a grid frequency 175, L is a nameplate total inductance of filter 111, R is a nameplate total resistance of filter 111, s is a frequency transform. The d-axis current i_(d) 125 and q-axis current i_(q) 135 are obtained from the abc to dq reference frame transform 121. The converter AC-side three-phase currents 123 are measured, and the grid-voltage phase angle 157 is obtained from the PLL 103.

$\begin{matrix} {{E_{d\_ est}\left( {k + 1} \right)} = {k_{po} \times \left\lbrack {{i_{q}(k)} - \frac{\begin{matrix} {{E_{d\_ est}(k)} - {v_{q}^{*}(k)} -} \\ {\omega_{e}\overset{\hat{}}{L}{i_{d}(k)}} \end{matrix}}{\overset{\hat{}}{R} + {s\overset{\hat{}}{L}}}} \right\rbrack}} & {{Equation}\mspace{14mu} 8} \end{matrix}$

FIG. 8C is a schematic block diagram of an alternate PLL 103. In the depicted embodiment, the observer d-axis grid voltage E_(d_est) 241 is filtered with a notch filter 131 adjusted by the grid frequency ω_(e) 175, subtracted from zero 179, and processed with a PI controller 141. The output of the PI controller 141 is summed with the grid frequency ω_(e) 175 and integrated by the integrator 173 to generate the grid-voltage phase angle θ_(e) 157.

FIG. 9 is a flow chart diagram of a power converter control method 900. The method 900 may estimate the d-axis voltage output 161 and the q-axis voltage output 163 that control the plant 235 that generates the three-phase voltage command V_(abc) 159 that controls the pulse width modulator 107. The method 900 may be performed by the controller 101 and/or the system 100.

The method 900 starts, and in one embodiment, the controller 101 estimates 901 the d-axis grid voltage −E_(d) 147 from the d-axis reference current 129 modified with the d-axis current 125 and the q-axis current 135 modified with a filter inductive reactance 145 as shown in FIGS. 7A and 8A. The controller 101 further generates 903 the q-axis current error i_(q_err) 233 from the DC voltage input 127 and the DC bus voltage 133.

The controller 101 estimates 905 the observer q-axis grid voltage 221 from the q-axis voltage output 163. The controller 101 may estimate 905 the observer q-axis grid voltage 221 in a dq reference frame equivalent to the ABC to DQ reference frame transform 121.

In one embodiment, the controller 101 estimates 907 the observer d-axis grid voltage 241 from the d-axis voltage output 161. The controller 101 may estimate 907 the observer d-axis grid voltage 241 in the dq reference frame equivalent to the ABC to DQ reference frame transform 121.

The controller 101 may determine 909 the d-axis voltage output 161 as a function of the d-axis current error i_(d_err) 231 and the q-axis current 135 modified with the filter inductive reactance 145. In addition, the controller 101 may determine 911 the q-axis voltage output 163 as a sum of the q-axis current controller output Δv_(q) 137 and the observer q-axis grid voltage 221. The added observer q-axis grid voltage 221 improves system dynamic response under a grid-voltage disturbance.

The controller 101 may generate 913 the three-phase voltage command V_(abc) 159 for the pulse width modulator 107. The three-phase voltage command V_(abc) 159 may be generated 913 from the d-axis voltage output 161 and the q-axis voltage output 163 using Equation 5.

In response to the three-phase voltage command V_(abc) 159, the pulse width modulator 107 may generate 915 the gate control signals 102. In response to the gate control signals 102 the power converter 109 may convert the grid power 106 and/or converter side power 104 into the DC electric power 108 to supply 917 the power bus 113, and the method 900 ends.

FIG. 10A is a graph of the d-axis grid voltage −E_(d) 147 and a three-phase grid power 106 a-c for the controller 101 of FIG. 2A for a 60 percent voltage sag. As shown, the d-axis grid voltage −E_(d) 147 overshoots.

FIG. 10B is a graph of the d-axis grid voltage −E_(d) 147 and the grid power 106 a-c for the controller 101 of FIG. 7A for a 60 percent voltage sag. As shown, the d-axis grid voltage −E_(d) 147 overshoot is significantly reduced from FIG. 10A.

FIG. 11A is a graph of the DC bus voltage 133 and a three-phase grid power 106 a-c of the prior art for a 60 percent voltage sag. As shown, the phases of grid power 106 a-c are unbalanced, with some phases of grid power 106 exceeding other phases of grid power 106.

FIG. 11B is a graph of the DC bus voltage 133 and a three-phase grid power 106 a-c for the controller 101 of FIG. 7A for a 60 percent voltage sag. As shown, the phases of the grid power 106 a-c are balanced, improving performance.

Problem/Solution

The grid-connected power converter system 100 converts the grid power 106 into the filtered electrical power 108. Efficiently converting the grid power 106 requires knowing the voltage of the grid power 106. Unfortunately, sensing the voltage of the grid power 106 would require a sensor that is prone to environmental noise, resulting in reduced system performance or prone to failure.

The embodiments described herein estimate voltage by determining a d-axis voltage output 161 as a function of a d-axis current error i_(d_err) 231 and a q-axis current 135 modified with a filter inductive reactance 145 and determine a q-axis voltage output 163 as a sum of the q-axis current controller output Δv_(q) 137 and the observer q-axis grid voltage 221. As a result, the system 100 efficiently converts the grid power 106 without the voltage sensor for the grid power 106. The downtime of the system 100 is reduced as there are no voltage sensor failures or maintenance for the voltage sensor. Thus, the efficiency and the functioning of the system 100 are enhanced.

This description uses examples to disclose the invention and also to enable any person skilled in the art to practice the invention, including making and using any devices or systems and performing any incorporated methods. The patentable scope of the invention is defined by the claims and may include other examples that occur to those skilled in the art. Such other examples are intended to be within the scope of the claims if they have structural elements that do not differ from the literal language of the claims, or if they include equivalent structural elements with insubstantial differences from the literal language of the claims. 

What is claimed is:
 1. A method comprising: estimating, by use of a controller, a d-axis grid voltage from a d-axis reference current modified with a d-axis current and a q-axis current modified with a filter inductive reactance; generating a q-axis current error from a direct current (DC) voltage input and a DC bus voltage; estimating an observer q-axis grid voltage from a q-axis voltage output, wherein the q-axis grid voltage observer estimates the q-axis grid voltage in a direct/quadrature (dq) reference frame equivalent to an ABC to DQ reference frame transform determining a d-axis voltage output as a function of a d-axis current error and a q-axis current modified with a filter inductive reactance; and determining a q-axis voltage output as a sum of the q-axis current controller output and the observer q-axis grid voltage, wherein the added observer q-axis grid voltage improves system dynamic response under a grid-voltage disturbance.
 2. The method of claim 1, wherein the q-axis current controller output is a minus d-axis current multiplied by a filter inductive reactance minus the output of current regulators with an input of a q-axis error current.
 3. The method of claim 2, wherein the q-axis error current is the DC voltage input minus the DC bus voltage, the difference modified by a proportional integral controller and a notch filter and further reduced with the q-axis current.
 4. The method of claim 1, the method further comprising estimating an observer d-axis grid voltage from the d-axis voltage output.
 5. The method of claim 4, wherein a grid-voltage phase angle is generated with a phase lock loop (PLL) from the observer d-axis grid voltage.
 6. The method of claim 1, wherein the observer q-axis grid voltage is estimated as a first sum of the observer q-axis grid voltage minus the d-axis current multiplied by an inductor reactance minus q-axis voltage output, the first sum filtered by an RL filter and subtracted from the q-axis current to generate a second sum, the second sum processed by a proportional controller and a digital delay to estimate the observer q-axis grid voltage.
 7. The method of claim 1, wherein the d-axis current and the q-axis current are an ABC to DQ reference frame transform of a grid-voltage phase angle generated by a phase lock loop (PLL), and the PLL comprises a notch filter.
 8. The method of claim 1, the method further comprising modifying a d-axis current error and the q-axis current error by selectively removing second-order harmonics.
 9. The method of claim 8, wherein the grid negative-sequence harmonic currents are selectively removed with two second order resonant regulators.
 10. The method of claim 9, wherein the two second order resonant regulators each implement a transfer function of ${{R_{2}(s)} = \frac{k_{r2} \cdot s}{s^{2} + \left( {2\omega_{e}} \right)^{2}}},$ wherein s is a frequency transform, ω_(e) is a grid frequency obtained from a phase lock loop, and k_(r2) is a nonzero constant.
 11. The method of claim 8, wherein two resonant regulators with a selective frequency at nω_(e) modify a d-axis current error i_(d_err) and q-axis current error to eliminate grid harmonic currents at frequencies of (n−1)ω_(e) and (n+1)ω_(e), and the two resonant regulators each implement a transfer function of ${{R_{n}(s)} = \frac{k_{rn} \cdot \left\lbrack {{s\;{\cos({\Delta\theta})}} - {\left( {n\;\omega_{e}} \right){\sin\left( {\Delta\theta} \right)}}} \right\rbrack}{s^{2} + \left( {n\omega_{e}} \right)^{2}}},$ wherein Δθ is a compensation angle, n is an integer, k_(rn) is a nonzero constant.
 12. An apparatus comprising: a plurality of semiconductor gates that: estimate a d-axis grid voltage from a d-axis reference current modified with a d-axis current and a q-axis current modified with a filter inductive reactance; generate a q-axis current error from a direct current (DC) voltage input and a DC bus voltage; estimate an observer q-axis grid voltage from a q-axis voltage output, wherein the q-axis grid voltage observer estimates the q-axis grid voltage in a direct/quadrature (dq) reference frame equivalent to an ABC to DQ reference frame transform determine a d-axis voltage output as a function of a d-axis current error and a q-axis current modified with a filter inductive reactance; and determine a q-axis voltage output as a sum of the q-axis current controller output and the observer q-axis grid voltage, wherein the added observer q-axis grid voltage improves system dynamic response under a grid-voltage disturbance.
 13. The apparatus of claim 12, wherein the q-axis current controller output is a minus d-axis current multiplied by a filter inductive reactance minus the output of current regulators with an input of a q-axis error current.
 14. The apparatus of claim 13, wherein the q-axis error current is the DC voltage input minus the DC bus voltage, the difference modified by a proportional integral controller and a notch filter and further reduced with the q-axis current.
 15. The apparatus of claim 12, the plurality of semiconductor gates further estimating an observer d-axis grid voltage from the d-axis voltage output.
 16. The apparatus of claim 15, wherein a grid-voltage phase angle is generated with a phase lock loop (PLL) from the observer d-axis grid voltage.
 17. The apparatus of claim 12, wherein the observer q-axis grid voltage is estimated as a first sum of the observer q-axis grid voltage minus the d-axis current multiplied by an inductor reactance minus q-axis voltage output, the first sum filtered by an RL filter and subtracted from the q-axis current to generate a second sum, the second sum processed by a proportional controller and a digital delay to estimate the observer q-axis grid voltage.
 18. The apparatus of claim 12, wherein the d-axis current and the q-axis current are an ABC to DQ reference frame transform of a grid-voltage phase angle generated by a phase lock loop (PLL), and the PLL comprises a notch filter.
 19. A system comprising: a controller that: estimates a d-axis grid voltage from a d-axis reference current modified with a d-axis current and a q-axis current modified with a filter inductive reactance; generates a q-axis current error from a direct current (DC) voltage input and a DC bus voltage; estimates an observer q-axis grid voltage from a q-axis voltage output, wherein the q-axis grid voltage observer estimates the q-axis grid voltage in a direct/quadrature (dq) reference frame equivalent to an ABC to DQ reference frame transform determines a d-axis voltage output as a function of a d-axis current error and a q-axis current modified with a filter inductive reactance; and determines a q-axis voltage output as a sum of the q-axis current controller output and the observer q-axis grid voltage, wherein the added observer q-axis grid voltage improves system dynamic response under a grid-voltage disturbance; a plant that drives a pulse width modulator (PWM) as a function of the d-axis voltage output and the q-axis voltage output; the PWM generates gate control signals based on the d-axis voltage output and the q-axis voltage output; a power converter that outputs electrical power as driven by the PWM; and a filter that filters the electrical power between the power converter and a grid power.
 20. The system of claim 19, the controller further estimating an observer d-axis grid voltage from the d-axis voltage output. 